﻿namespace TuxedoLib
{
	public class Event
	{
		public EventType Type { get; internal set; }
		public bool IsPress { get; internal set; }
		public bool IsRelease { get; internal set; }
		public MouseButton MouseButton { get; internal set; }
		public Key Key { get; internal set; }
	}

	public enum MouseButton
	{
		Primary,
		Secondary,
		Middle,
	}

	public enum EventType
	{
		Key,
		MouseButton,
		MouseMove,
		MouseScroll,
		Quit
	}

	public enum Key
	{
		Unknown,

		Enter,
		Space,
		Tab,
		Backspace,
		Escape,

		Insert,
		Delete,
		Home,
		End,
		PageUp,
		PageDown,
		Pause,
		PrintScreen,

		LeftAlt,
		RightAlt,
		LeftShift,
		RightShift,
		LeftCtrl,
		RightCtrl,

		CapsLock,

		Up,
		Down,
		Left,
		Right,

		A,
		B,
		C,
		D,
		E,
		F,
		G,
		H,
		I,
		J,
		K,
		L,
		M,
		N,
		O,
		P,
		Q,
		R,
		S,
		T,
		U,
		V,
		W,
		X,
		Y,
		Z,

		F1,
		F2,
		F3,
		F4,
		F5,
		F6,
		F7,
		F8,
		F9,
		F10,
		F11,
		F12,

		Num0,
		Num1,
		Num2,
		Num3,
		Num4,
		Num5,
		Num6,
		Num7,
		Num8,
		Num9,
	}
}
